# Architeture and GCC section
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -fomit-frame-pointer -Os -pipe -fno-plt -Wl,-z,relro,-z,now \
-fstack-protector-strong -fstack-clash-protection -fstrict-overflow"
CXXFLAGS="${CFLAGS}"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3"
MAKEOPTS="-j5"

# Python section
PYTHON_TARGETS="python2_7 python3_6
PYTHON_SINGLE_TARGET="python3_6

# Global USEs flags
USE="X alsa cairo dbus opengl libressl png jpeg savedconfig opus xft"
USE="${USE} -bindist -consolekit -multilib -llvm -gtk -qt5 -qt4 -ipv6 \
-cups -bluetooth -sendmail -geolocation -pulseaudio -systemd -gnome"

# Language section
LINGUAS="us"
L1ON="us"

# Input section
INPUT_DEVICES="libinput keyboard mouse"
VIDEO_CARDS="nvidia"

# Portage section
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="sandbox userfetch collision-protect parallel-fetch fail-clean clean-logs news"
PORT_LOGDIR="/var/log/portage"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_SYSTEM="save"

# Curl section
CURL_SSL="libressl"

# Miscellaneous
ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"
AUTOCLEAN="yes"
LC_MESSAGES=C # This sets the language of build output to English.
